package com.ea.admin.service;

import com.ea.admin.pojo.vo.account.ContactAdminVo;
import com.ea.admin.pojo.vo.company.CompanyVo;

import java.util.List;

public interface CompanyService {

    Long addCompany(Long accountId, Long supCompanyId, String companyName, Long companyContactAccountId, String companyContactName, String companyContactPhoneNum, String companyContactUsername, String companyContactPassword, String companyContactRePassword);

    void editCompany(Long accountId, Long companyId, String companyName, Long supCompanyId, Long companyContactId);

    void deleteCompany(Long accountId, Long companyId);

    List<CompanyVo> getCompanyPermissionById(Long accountId);

    List<ContactAdminVo> searchContact(Long accountId, Long companyId, String contactName);

    Integer getCompanyCountByIdList(List<Long> companyIdList);
}
